

package com.lh.api.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * 申请退款表单
 *
 * @Date 2020/5/21 11:18
 * @Author GaoZien
 */
@Data
@ApiModel(value = "申请售后表单")
public class AfterSaleForm {

    @ApiModelProperty(value = "订单编号",required = true)
    @NotBlank(message="Order No. is required")
    private String orderItem;

    @ApiModelProperty(value = "退款原因",required = true)
    @NotBlank(message="Reason. is required")
    private String reason;

    @ApiModelProperty(value = "备注")
    @Length(max = 400,message = "Remarks can not be more than 400 characters")
    private String remark;

    @ApiModelProperty(value = "图片凭证,多个图片,隔开",required = true)
    @NotBlank(message="Voucher. is required" )
    private String proofPics;

}
